// import { exception } from "console"
import request from  "../utils/request.js"
// const path="/student.php"


//学生页面加载班级
export function getBanji(data){
  return request({
    url:"/student.php/index/index",
    data,
  })
}

//扫码加入班级
export function joinBanji(data){
  return request({
    url:"/student.php/JoinClass/joinBanji",
    data,
  })
}

//查看班级签到状态
export function state(data) {
  return request({
    url: "/student.php/State/state",
    data,
  })
}

//学生考勤日志
export function yichuqin(data) {
  return request({
    url: "/student.php/State/yichuqin",
    data,
  })
}
//学生考勤日志
export function weichuqin(data) {
  return request({
    url: "/student.php/State/weichuqin",
    data,
  })
}